package com.ruoyi.lc.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 数据建模列对象 lc_datamodel_column
 * 
 * @author qibotian
 * @date 2025-01-07
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LcDatamodelColumn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 定义标识 */
    @Excel(name = "定义标识")
    private String defineCode;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 标识 */
    @Excel(name = "标识")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String title;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 长度 */
    @Excel(name = "长度")
    private Integer lengthM;

    /** 小数点 */
    @Excel(name = "小数点")
    private Integer lengthD;

    /** 是否主键 */
    @Excel(name = "是否主键")
    private Boolean pkey;

    /** 是否可空 */
    @Excel(name = "是否可空")
    private Boolean nullable;

    /** 字段属性 */
    @Excel(name = "字段属性")
    private String attr;

    /** 匹配类型 */
    @Excel(name = "匹配类型")
    private String mappingType;

    /** 匹配表 */
    @Excel(name = "匹配表")
    private String mapping;

    /** 排序 */
    @Excel(name = "排序")
    private Integer orderNum;
    
}
